{extend name="base"/}
{block name="title"}
<title>妙百睿国际幼儿园-{$map_name}</title>
{/block}

<!--轮播开始-->
{block name="content"}
<div class="g-hert">
    <div class="container">
        <div class="row">
            <div class=" xuxian">
                <p class="x-left pull-left">{$map_name} <span class="smalll"></span></p>
                <p class="x-right pull-right">首页&nbsp;{$map}</p>
            </div>
        </div>
        <div class="row acti x-c acti-speil">
            <div class="col-md-12 x-c  x-c-speil">
                <div class="x-c-t">
                    {$data.title1} <span class="s-n"></span>
                </div>
                <div class="x-c-c">
                    <?php $tmp= array_merge(array_filter(explode("\r\n", $data['content1'])));?>

                    <p style="color:#834c92;font-weight: bold">{$tmp.0}</p>
                    {$tmp.1}
                    <br><br>
                    <p style="color:#834c92;font-weight: bold">{$tmp.2}</p>
                    {$tmp.3}
                </div>
            </div>
            <div class="col-md-12 x-c">
                <div class="x-c-t">
                    {$data.title2}
                </div>
            </div>

            <?php foreach($data['img_url'] as $k=>$v) { if(empty($v)) continue; ?>
            <div class="col-md-12 teacher">
                <div class="col-md-4 col-sm-6 col-xs-12 ac-img">
                    <img src="{$v}" alt="">
                </div>
                <div class="col-md-8 col-sm-6 col-xs-12 ac-word">
                    <p class="ac-w-t"><?php echo $data['team_title'][$k];?></p>
                    <p class="ac-w-c">
                        <strong><?php echo $data['team_desc'][$k];?></strong><br>
                        <?php echo str_replace("\r\n", '<br>', $data['team_content'][$k]);?>
                        <br>
                    </p>
                </div>
            </div>
            <?php }?>


            <div class="col-md-12 x-c">
                <div class="x-c-t">
                    {$data.title3}
                </div>
            </div>

            <?php foreach($data['url'] as $k=>$v) { if(empty($v)) continue; ?>
            <div class="col-md-12 teacher">
                <div class="col-md-4 col-sm-6 col-xs-12 ac-img">
                    <img src="{$v}" alt="">
                </div>
                <div class="col-md-8 col-sm-6 col-xs-12 ac-word">
                    <p class="ac-w-t"><?php echo $data['title'][$k];?></p>
                    <p class="ac-w-c">
                        <strong><?php echo $data['desc'][$k];?></strong><br>
                        <?php echo str_replace("\r\n", '<br>', $data['content'][$k]);?>
                        <br>
                    </p>
                </div>
            </div>
            <?php }?>

        </div>
    </div>
</div>
{/block}
{block name="js"}
{/block}